package edu.ncst.baseweb.service.impl.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabCommittee;
import edu.ncst.baseweb.mapper.LabCommitteeMapper;
import edu.ncst.baseweb.service.intrer.web.LabCommitteeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabCommitteeServiceImpl implements LabCommitteeService {

    @Autowired
    private LabCommitteeMapper LabCommitteeMapper;

    public Result<List<LabCommittee>> list(){
        List<LabCommittee> LabCommitteeList = LabCommitteeMapper.selectList(null);
        return Result.ok(LabCommitteeList);
    }

}
